<template>
    <!-- iframe 容器 -->
    <div class="iframe-container" style="width: 100%; height: 100%;"> 
        <iframe :src="src" frameborder="0" style="width: 100%; height: 100%;"></iframe>
    </div>
</template>

<script setup>
import { ref, watch } from 'vue';
const props = defineProps({
    src: {
        type: String,
        required: true
    }
});
</script>